package com.clean.cleantotal.compores.start

import com.blankj.utilcode.util.SPUtils
import com.clean.cleantotal.MainActivity
import com.clean.cleantotal.base.BaseActivity
import com.clean.cleantotal.databinding.ActivityFirstBatteryBinding

class FirstBatteryActivity : BaseActivity<ActivityFirstBatteryBinding>() {
    override val viewBinding: ActivityFirstBatteryBinding
        get() = ActivityFirstBatteryBinding.inflate(layoutInflater)

    override fun initView() {
        SPUtils.getInstance().put("isFirst", false)
        mBinding.ivClose.setOnClickListener { openActivity(MainActivity::class.java); finish() }
        mBinding.scan.setOnClickListener { openActivity(FirstBatteryScanActivity::class.java); finish() }
    }

    override fun onBackPressed() {

    }
}